package com.zipking.cloud.springbootmybatis.service;


import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zipking.cloud.springbootmybatis.persistance.entity.MsgLog;
import org.springframework.beans.BeanUtils;

import javax.servlet.http.HttpServletResponse;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CopyOnWriteArrayList;

/**
 * <p>
 * 消息投递日志 服务类
 * </p>
 *
 * @author kingbird
 * @since 2024-04-04
 */
public interface IMsgLogService extends IService<MsgLog> {
    void jdbcBatchInser(List<MsgLog> electronCodeInfoList);
    List<MsgLog> logicHandler(Map<String, Object> params);


     CompletableFuture<List<MsgLog>> getExportDataList(int j, int pageSize);

    List<MsgLog> getDataListByBatch();
    List<MsgLog> queryAllUseThreadPool(int limit);
   void asyncBatchInit();

    List<MsgLog> testTime(List<MsgLog> msgLogList, List<MsgLog> newList);

    void exportExcel(HttpServletResponse response);

    void exportExcel8(HttpServletResponse response);

    List<MsgLog> logicHandlerExt(HashMap<Object, Object> objectObjectHashMap);

    //  void testResultHandler();
}
